<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String contextPath = request.getContextPath();
	Dingdan dd = (Dingdan) request.getAttribute("dd");

%>
<%@page import="com.zhangyj.component.ToolBar"%>
<%@page import="com.zhangyj.entitis.Dingdan"%>
<%@page import="com.zhangyj.impl.UserContext"%>
<%@page import="java.net.URLEncoder"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@include file="/WEB-INF/jsps/head.jsp"%>
<style type="text/css">
.textbox {
	width: 100%;
}
.gridlayout {
	width:70%;
}
.gridlayout td {
	height: 30px;
	padding-left: 10px;
}
</style>
<script type="text/javascript">
function uf_ok() {
	var form = document.forms["form1"];
	form.submit();
}
function uf_onload() {
	<%
		String msg = (String)request.getAttribute("msg");
	if (msg != null) {%>
		alert("<%=msg%>");
	<%}%>
}
</script>
</head>
<body onload="uf_onload()">
<%
	ToolBar toolbar = new ToolBar();
	toolbar.setTitle("订单开单");
	toolbar.put(new ToolBar.Item("开单", "uf_ok()"));
	toolbar.put(new ToolBar.Item("返回", "_setLocation('" + contextPath
			+ "/order/shlist.do')"));
	toolbar.writer(out);
%>
<form id="form1" name="form1" action="<%=contextPath%>/order/kdsave.do"
	method="post"><input type="hidden" name="ddid"	value="<%=dd.getDdid()%>" />
<%=com.zhangyj.entitis.SystemParam.getSystemParam(request).toInput() %>
</form>
<jsp:include page="/workspace/order/orderinfo.jsp"/>
</body>
</html>